package util;

/**
 * The Constant {@code class} containing all necessary constant.
 * 
 * @author Peter NGO, Guillaume POUSSEL and Mathieu RUL
 * 
 * @version 1.0
 */
public class Constant {
	public static final int INT_PHONETIC_SEUIL = 75;
	
	public static final String PATH_DATA = "./database/";
	public static final String FILE_USERS = "users.xml";
	public static final String FILE_TAGS = "tags.xml";
	public static final String FILE_EVENTS = "events.xml";
	public static final String FILE_COMMENTS = "comments.xml";
	public static final String FILE_ITEMS = "items.xml";
	public static final String FILE_ITEMLISTS = "itemlists.xml";
	
	public static final String TAG_ID = "id";

	public static final String STR_NO_ITEM = "no items are availables";

	public static final String STR_NO_USER = "no users are availables";
	public static final String STR_USER_LOGGED = "your are logged now";
	public static final String STR_USER_LOGGED_OUT = "your are logged out now";
	public static final String STR_USER_CREATED = "your account was created";
	public static final String STR_USER_DELETED = "your account was deleted";

	public static final String STR_FILE_NOT_FOUND = "file not found: ";

	public static final String STR_INVALID_PASSWORD = "invalid password";
	public static final String STR_INVALID_PASSWORD_CONFIRM = "Confirmation failed, please try again.";
	public static final String STR_INVALID_LOGIN = "invalid login";
	public static final String STR_NOT_EXISTS_LOGIN = "This login doesn't exists !";
	public static final String STR_LOGIN_ALREADY_EXISTS = "login already exists";
	public static final String STR_USER_ALREADY_CONNECTED = "user already connected";
	public static final String STR_USER_NOT_CONNECTED = "user not connected";

	public static final String STR_INVALID_PLAYING_TIME = "invalid playing time";
	public static final String STR_INVALID_TYPE = "invalid type class";

	public static final String STR_USER_ALREADY_FRIEND = "User are already friends";
	public static final String STR_USER_NOT_FRIEND = "User are not friends";
	public static final String STR_ITEM_ALREADY_EXIST = "Item already exist";
	public static final String STR_ITEM_NOT_EXIST = "Item not exist";

	public static final String STR_ITEM_LIST_ALREADY_EXIST = "ItemList already exist";
	public static final String STR_ITEM_LIST_NOT_EXIST = "ItemList not exist";

	public static final String STR_INVALID_ID = "Invalid ID";

	public static final String STR_NAME_NULL = "The name must not be null or empty";

	public static final String STR_EXCEPTION_SHOULD_HAVE_OCCURED = "Exception should have occurred";
	
	public static final String STR_PROGRAM_NAME = "Polytech'Friends";
	
	public static final String STR_FILE_EXPECTED = "You must give a valid file";
	public static final String STR_DIR_EXPECTED = "You must give a valid directory";
	
	public static final String STR_INCOMPATIBLE_TYPE = "The file type is incompatible";

	public static final String STR_CONFIRM_ACTION = "Confirm? [(C)ontinue/(B)ack to Main Menu/Other key:Re-enter the info]: ";
	public static final String STR_GO_BACK_MENU = "Going back to the main menu...";
	
	public static final String STR_ERROR = "Error: Please try again.";
	
	public static final String STR_PRESS_ENTER = "Press ENTER to continue...";
}